package cn.com.api.entity;

import java.io.Serializable;

public class ApiT_promote implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 主键 id */
	private Integer id;
	/** 推广人姓名 */
	private String name;
	/** 城市id */
	private Integer city_id;
	/** 邀请码 */
	private String invite_code;
	/** 是否有效 */
	private Integer status;
	/** 插入时间 */
	private String insert_time;

	/** 邀请人数 --用于页面显示 */
	private Integer count;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCity_id() {
		return city_id;
	}

	public void setCity_id(Integer city_id) {
		this.city_id = city_id;
	}

	public String getInvite_code() {
		return invite_code;
	}

	public void setInvite_code(String invite_code) {
		this.invite_code = invite_code;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getInsert_time() {
		return insert_time;
	}

	public void setInsert_time(String insert_time) {
		this.insert_time = insert_time.substring(0, insert_time.length() - 2);
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

}
